/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tp.Polymorphism;

/**
 *
 * @author Devon
 */
class RunDemo
{

    public static
            void main(String ary[])
    {

        Box x;

        Box b1 = new Box();

        WoddenBox wb = new WoddenBox();

        SteelBox s1 = new SteelBox();

        LargeWoddenBox p1 = new LargeWoddenBox();

        b1.info();

        wb.info();

        s1.info();

        p1.info();

    }
}
